package com.lc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class IndexController {

	@RequestMapping({"/", "/index"})
	public String index(ModelMap modelMap) {
		modelMap.addAttribute("msg", "Hello LC , this is thymeleaf");
		return "thymeleaf";
	}
}
